﻿@using Util.Ui
@model IterationLife.PlatformBackEnd.AppServices.Dtos.FootballTeachings.ChapterDto
@{
    var x = @Html.EasyUi();
}
<script type="text/javascript">
    var save_after = function () {
        $.easyui.closeDialog();
    }
</script>
<div class="divForm">
    <div class="formtitle">章节管理</div>
    @using (x.Form("form").AddClass("form").Action("/FootballTeachings/chapter/save").Begin())
    {
        <dl>
            <dt>@Html.LabelFor(t => t.SortId)</dt>
            <dd>
                @x.TextBox(t => t.SortId)
            </dd>
        </dl>
        <dl>
            <dt>@Html.LabelFor(t => t.Name)</dt>
            <dd>
                @x.TextBox(t => t.Name)
            </dd>
        </dl>
        @Html.HiddenFor(t => t.CourseId)
        @Html.HiddenFor(t => t.CreationTime)
        @Html.HiddenFor(t => t.CreatorId)
        @Html.HiddenFor(t => t.LastModificationTime)
        @Html.HiddenFor(t => t.LastModifierId)
        @Html.HiddenFor(t => t.IsDeleted)
        @Html.HiddenFor(t => t.Version)
        @Html.HiddenFor(t => t.Id)
        @Html.AntiForgeryToken()
    }
</div>
<div id="dialogButtons">
    @x.Button("保 存").Icon("icon-ok").Width(90).Submit("", "save_after")
    @x.DialogButton("关 闭").Icon("icon-cancel").Width(90).CloseDialog()
</div>